package com.zhuxiaomei.mapper;

import com.zhuxiaomei.annotation.AutoFill;
import com.zhuxiaomei.entity.msg.CoupleBindMessage;
import com.zhuxiaomei.enumeration.OperationType;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author hxm
 * @date 2024/12/24 12:31
 * @description
 */
public interface CoupleBindMessageMapper extends Mapper<CoupleBindMessage> {

    @AutoFill(OperationType.INSERT)
    void insertMessage(CoupleBindMessage msg);

    @AutoFill(OperationType.UPDATE)
    void updateByFromUserAndToUser(CoupleBindMessage msg);
}
